﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hangjing.EleAPIV2
{
    public class OrderResultData
    {
        /// <summary>
        /// 近铁城市广场
        /// </summary>
        public string address { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string createdAt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string activeAt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal deliverFee { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string deliverTime { get; set; }

        /// <summary>
        /// 不要香菜
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<GroupsItem> groups { get; set; }

        /// <summary>
        /// 拉扎斯网络科技(上海)有限公司
        /// </summary>
        public string invoice { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string book { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string onlinePaid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 	顾客联系电话
        /// </summary>
        public List<string> phoneList { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public long shopId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string openId { get; set; }

        /// <summary>
        /// 实验餐厅
        /// </summary>
        public string shopName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int daySn { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string refundStatus { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public long userId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal totalPrice { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal originalPrice { get; set; }

        /// <summary>
        /// 张三
        /// </summary>
        public string consignee { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string deliveryGeo { get; set; }

        /// <summary>
        /// 近铁城市广场（普陀区金沙江路1518弄)
        /// </summary>
        public string deliveryPoiAddress { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string invoiced { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal income { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal serviceRate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal serviceFee { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal hongbao { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal packageFee { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal activityTotal { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal shopPart { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal elemePart { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string downgraded { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string secretPhoneExpireTime { get; set; }

    }

    public class GroupsItem
    {
        /// <summary>
        /// 1号篮子
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<FoodItem> items { get; set; }

    }


    public class FoodItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string skuId { get; set; }

        /// <summary>
        /// 奶茶
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string categoryId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal price { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int quantity { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal total { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string extendCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string barCode { get; set; }


    }

}
